import fetch from '@/util/fetch'
// redirectToH5New2
export function ajaxAuth_get(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_head(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_post(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_put(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_delete(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_options(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// redirectToH5New2
export function ajaxAuth_patch(options) {
  return fetch({
    url: 'app/wechat/ajaxAuth',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_get(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_head(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_post(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_put(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_delete(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_options(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// userInfoAuth
export function authUserInfo_patch(options) {
  return fetch({
    url: 'app/wechat/authUserInfo',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_get(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_head(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_post(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_put(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_delete(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_options(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// receiveEvent
export function event_patch(options) {
  return fetch({
    url: 'app/wechat/event',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// share
export function share_get(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// share
export function share_head(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// share
export function share_post(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// share
export function share_put(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// share
export function share_delete(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// share
export function share_options(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// share
export function share_patch(options) {
  return fetch({
    url: 'app/wechat/share',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// tokenAvailable
export function tokenAvailable_post(options) {
  return fetch({
    url: 'app/wechat/tokenAvailable',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// tokenAvailableNew
export function tokenAvailableNew_post(options) {
  return fetch({
    url: 'app/wechat/tokenAvailableNew',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}
